package com.ssy.lingxi.system.service;

import com.ssy.lingxi.common.response.Wrapper;
import com.ssy.lingxi.system.dto.request.FieldsVerifyAddRequest;
import com.ssy.lingxi.system.dto.request.FieldsVerifyDeleteRequest;
import com.ssy.lingxi.system.dto.request.FieldsVerifyListRequest;
import com.ssy.lingxi.system.entity.FieldsVerify;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

public interface FieldsVerifyService {
    /**
     * 添加会员字段校验规则
     *
     * @author wrc
     * @date 2020/5/11
     */
    Wrapper<List<FieldsVerify>> addFieldsVerify(HttpServletRequest httpServletRequest,FieldsVerifyAddRequest request);

    /**
     * 删除字段校验
     *
     * @author wrc
     * @date 2020/5/11
     */
    Wrapper configMemberFieldsVerifyDelete(FieldsVerifyDeleteRequest request);

    /**
     * 查询会员字段配置规则列表
     *
     * @author wrc
     * @date 2020/5/11
     */
    Wrapper<List<FieldsVerify>> configMemberFieldsVerifyList(FieldsVerifyListRequest request);
}
